home *** CD-ROM | disk | FTP | other *** search
/ Gamers Delight 2 / Gamers Delight 2.iso / Aminet / game / misc / TownMaze.lha / TownMaze / src.lzh / townproto.h < prev    next >
C/C++ Source or Header  |  1991-08-04  |  3KB  |  211 lines

  1. /*
  2. ** townproto.h  Copyright 1991 Kent Paul Dolan,
  3. **              Mountain View, CA, USA 94039-0755
  4. **
  5. ** Written to satisfy an inquiry on USENet's rec.games.programmer newsgroup.
  6. ** May be freely used or modified in any non-commercial work.  Copyrighted
  7. ** only to prevent patenting by someone else.
  8. */
  9.  
  10. /*
  11. ** This file contains the prototypes for the functions in townmaze;
  12. ** it is quite a mess since the program was developed in both an
  13. ** ANSI C prototyping environment (Lattice C 5.05) on the Amiga
  14. ** under AmigaOS, and in a BSD 4.3 Unix pre-ANSI C "cc" environment
  15. ** without prototypes. 
  16. */
  17.  
  18. /* functions in cleanupmap.c */
  19.  
  20. #ifdef __STDC__
  21. void cleanupmap();
  22. #else
  23. int cleanupmap();
  24. #endif
  25.  
  26. /* functions in closedoors.c */
  27.  
  28. #ifdef __STDC__
  29. void closedoors();
  30. #else
  31. int closedoors();
  32. #endif
  33.  
  34. /* functions in closegates.c */
  35.  
  36. #ifdef __STDC__
  37. void closegates();
  38. #else
  39. int closegates();
  40. #endif
  41.  
  42. /* functions in connectst.c */
  43.  
  44. #ifdef __STDC__
  45. void connectstreets();
  46. #else
  47. int connectstreets();
  48. #endif
  49.  
  50. /* functions in filllist.c */
  51.  
  52. #ifdef __STDC__
  53. void filllist();
  54. #else
  55. int filllist();
  56. #endif
  57.  
  58. /* functions in fillmaze.c */
  59.  
  60. #ifdef __STDC__
  61. void fillmaze();
  62. #else
  63. int fillmaze();
  64. #endif
  65.  
  66. /* functions in finishalleys.c */
  67.  
  68. #ifdef __STDC__
  69. void finishalleys();
  70. #else
  71. int finishalleys();
  72. #endif
  73.  
  74. /* functions in freespace.c */
  75.  
  76. #ifdef __STDC__
  77. void freespace();
  78. #else
  79. int freespace();
  80. #endif
  81.  
  82. /* functions in getargs.c */
  83.  
  84. #ifdef __STDC__
  85. void getargs(int argc,char *argv[]);
  86. #else
  87. int getargs();
  88. #endif
  89.  
  90. /* functions in interiorcell.c */
  91.  
  92. #ifdef __STDC__
  93. int interiorcell(int cellid);
  94. #else
  95. int interiorcell();
  96. #endif
  97.  
  98. /* functions in makecourts.c */
  99.  
  100. #ifdef __STDC__
  101. void makecourts();
  102. #else
  103. int makecourts();
  104. #endif
  105.  
  106. /* functions in makegates.c */
  107.  
  108. #ifdef __STDC__
  109. void makegates();
  110. #else
  111. int makegates();
  112. #endif
  113.  
  114. /* functions in makespace.c */
  115.  
  116. #ifdef __STDC__
  117. void makespace();
  118. #else
  119. int makespace();
  120. #endif
  121.  
  122. /* functions in makestreet.c */
  123.  
  124. #ifdef __STDC__
  125. int makestreet(int chosencell,int streetid,int streetpoints);
  126. #else
  127. int makestreet();
  128. #endif
  129.  
  130. /* functions in makeunused.c */
  131.  
  132. #ifdef __STDC__
  133. void makeunused();
  134. #else
  135. int makeunused();
  136. #endif
  137.  
  138. /* functions in movefromto.c */
  139.  
  140. #ifdef __STDC__
  141. void movefromto(int *fromlist,int *fromcount,int *tolist,int *tocount,
  142.                 int newstat,int cellnum);
  143. #else
  144. int movefromto();
  145. #endif
  146.  
  147. /* functions in nhbrexists.c */
  148.  
  149. #ifdef __STDC__
  150. int nhbrexists(int cellid,int nhbrid);
  151. #else
  152. int nhbrexists();
  153. #endif
  154.  
  155. /* functions in nhbris.c */
  156.  
  157. #ifdef __STDC__
  158. int nhbris(int cellid,int nhbrid);
  159. #else
  160. int nhbris();
  161. #endif
  162.  
  163. /* functions in showdbmaze.c */
  164.  
  165. #ifdef __STDC__
  166. void showdebugmaze();
  167. #else
  168. int showdebugmaze();
  169. #endif
  170.  
  171. /* functions in showlistdet.c */
  172.  
  173. #ifdef __STDC__
  174. void showlistdetail();
  175. #else
  176. int showlistdetail();
  177. #endif
  178.  
  179. /* functions in showlistsum.c */
  180.  
  181. #ifdef __STDC__
  182. void showlistsummary();
  183. #else
  184. int showlistsummary();
  185. #endif
  186.  
  187. /* functions in showmaze.c */
  188.  
  189. #ifdef __STDC__
  190. void showmaze();
  191. #else
  192. int showmaze();
  193. #endif
  194.  
  195. /* functions in townmain.c */
  196.  
  197. #ifdef __STDC__
  198. void main(int argc,char *argv[]);
  199. #else
  200. int main();
  201. #endif
  202.  
  203. /* functions in usage.c */
  204.  
  205. #ifdef __STDC__
  206. void usage();
  207. #else
  208. int usage();
  209. #endif
  210.  
  211.